package com.zhaoye.dao;

import com.zhaoye.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author feng
 * @Date 2021/11/21 21:27
 */
@Mapper
public interface OrderDao {

    //1.新建订单
    void create(Order order);

    //2。修改订单状态
    void update(@Param("userId") Long userId,@Param("status")Integer status);
}
